<!-- 用户信息 -->
<div class="panel panel-default">
    <!-- <div class="panel-heading">用户信息</div> -->
    {taglib name="app\user\taglib\user" /}
    {user:my return='user' /}
    <div class="panel-body">
        <div class="media">
            <div class="media-left">
            <a href="{:url('user/user/index')}">
                <img class="media-object" src="{$user.avatar|thumb=80,80,3}" alt="...">
            </a>
            </div>
            <div class="media-body">
            <h4 class="media-heading">{$user.nickname}</h4>
            <p>{$user.motto|default='欢迎浏览我的空间！'}</p>
            </div>
        </div>
    </div>
</div>
<!-- 个人中心菜单 -->
{ebcms:nav mark='user' return='nav' tree='1' /}
{foreach name="nav" item="vo" }
<div class="panel panel-default">
    <div class="panel-heading">{$vo.title}</div>
    {notempty name='vo.rows'}
    <div class="list-group">
    {foreach name="vo.rows" item="subvo" }
        <a class="list-group-item" href="{$subvo.url}">{$subvo.title}</a>
    {/foreach}
    </div>
    {/notempty}
</div>
{/foreach}